package com.yueyang.sojourn.server.model.vo;

import com.yueyang.sojourn.server.model.po.AttachDetail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

/**
 * @author yemingxing
 * @summary 商品信息
 * @Copyright (c) 2020, Yueyang Group All Rights Reserved.
 * @since 2020-02-17
 */
@Data
@ApiModel("商品信息")
public class SojournMerchVo {

    @ApiModelProperty(value = "主键id")
    private Long id;

    /**
     * 所属项目id
     */
    @ApiModelProperty(value = "所属项目id")
    private Long projectId;

    @ApiModelProperty(value = "所属项目")
    private SojournProjectVo sojournProject;

    /**
     * 商品标题
     */
    @ApiModelProperty(value = "商品标题")
    private String title;

    /**
     * 商品副标题
     */
    @ApiModelProperty(value = "商品副标题")
    private String subtitle;

    @ApiModelProperty(value = "商品图片")
    private List<AttachDetail> merchPic;

    /**
     * 行程路线
     */
    @ApiModelProperty(value = "行程路线")
    private String travelRoute;

    /**
     * 图文描述
     */
    @ApiModelProperty(value = "图文描述")
    private String desc;

    /**
     * 购买须知
     */
    @ApiModelProperty(value = "购买须知")
    private String payNotice;

    /**
     * 可出行日期的开始日期
     */
    @ApiModelProperty(value = "可出行日期的开始日期")
    private Date availableDateBegin;

    /**
     * 可出行日期的结束日期
     */
    @ApiModelProperty(value = "可出行日期的结束日期")
    private Date availableDateEnd;

    /**
     * 出行天数: 天
     */
    @ApiModelProperty(value = "出行天数: 天")
    private Integer days;

    /**
     * 出行天数: 晚
     */
    @ApiModelProperty(value = "出行天数: 晚")
    private Integer nights;

    /**
     * 单天库存
     */
    @ApiModelProperty(value = "单天库存")
    private Integer inventory;

    /**
     * 商品价格
     */
    @ApiModelProperty(value = "商品价格")
    private Integer price;

    /**
     * 会员商品价格
     */
    @ApiModelProperty(value = "会员商品价格")
    private Integer vipPrice;

    /**
     * 优惠类型
     */
    @ApiModelProperty(value = "优惠类型(枚举值)")
    private List<Integer> sales;

    /**
     * 上架状态
     */
    @ApiModelProperty(value = "上架状态(枚举值)")
    private Integer shelfStatus;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    @ApiModelProperty(value = "是否已经收藏")
    private Boolean collected;

    // =====join t_sojourn_layout_merch start=============================================
    /**
     * 商品分类Id
     */
    @ApiModelProperty("商品分类Id")
    private Integer kindId;
    // =====join t_sojourn_layout_merch end=============================================
}
